<h1>Forms</h1>
<p>Crawljax can fill in multiple values in forms<p>
<table><tr><td valign="top" width="300px">
	<h2>Contact</h2>
	<table>
	<tr><td>Gender:</td><td><input name="gender" type="radio" id="male" value="male">Male <input id="female" type="radio" name="gender" value="Female">Female</td></tr>
	<tr><td>Name:</td><td><input type="text" id="name"></td></tr>
	<tr><td>Phone:</td><td><input type="text" id="phone"></td></tr>
	<tr><td>Type:</td><td><select id="type">
					<option>Student</option>
					<option>Teacher</option>
					<option>Professor</option>
					</select></td></tr>
	<tr><td>Active:</td><td><input type="checkbox" id="active"></td></tr>
	</table>
	<p>
	<button onclick="saveContact('Contact Saved')">Save</button>
	<button onclick="openPage('home.html')">Cancel</button>
	</p>

</td><td valign="top">
<h2>Example Code</h2>
<pre>
CrawljaxConfigurationBuilder builder = CrawljaxConfiguration.builderFor(URL);
...
InputSpecification input = new InputSpecification();
Form contactForm = new Form();
contactForm.field("male").setValues(true, false);
contactForm.field("female").setValues(false, true);
contactForm.field("name").setValues("Bob", "Alice", "John");
contactForm.field("phone").setValues("1234567890", "1234888888", "");
contactForm.field("type").setValues("Student", "Teacher");
contactForm.field("active").setValues(true);
input.setValuesInForm(contactForm).beforeClickElement("button").withText("Save");
...
builder.setInputSpecification(input);
</pre>
</td></tr></table>
